package Study2;

public class Anime {
    public String name;

    public Anime(String name) {
        // 构造方法
        this.name = name;
        System.out.println("Anime 父类，超类,基类的构造方法");
    }


    public void sleep() {
        System.out.println(this.name+" 睡觉了");
    }


}

 class Study20 {

}
